package com.kara.woodAgent.agent.model;

import dev.langchain4j.exception.ModelNotFoundException;
import dev.langchain4j.model.chat.ChatLanguageModel;
import dev.langchain4j.model.chat.StreamingChatLanguageModel;
import dev.langchain4j.model.embedding.EmbeddingModel;

public interface ModelProvider {


    default ChatLanguageModel getChatModel(String type) {
            throw new ModelNotFoundException("Chat language model not found");
    }

    default ChatLanguageModel getChatModel() {
        return getChatModel(null);
    }


    default EmbeddingModel getEmbeddingModel(){
        throw new ModelNotFoundException("Chat language model not found");
    }

    default StreamingChatLanguageModel getStreamingChatModel(){
        throw new ModelNotFoundException("Chat language model not found");
    }
}
